package websphinx;


public interface MatchAction {

	/**
	 * match a action
	 * 
	 * @param matcher
	 *            the Matcher that calls the match function of eath MatchAction
	 * @return true if match successfully, false if fail
	 */
	public abstract boolean match(Matcher matcher);

	/**
	 * apply a action
	 * 
	 * @param matcher
	 *            the Matcher that calls the match function of eath MatchAction
	 * @return true if apply successfully, false if fail
	 */
	public abstract boolean apply(Matcher matcher);


}
